package com.cmit.paas.demo.web.model;

import java.util.List;

public class ModelMap {
    private String className;
    private List<Field> fields;

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public List<Field> getFields() {
        return fields;
    }

    public void setFields(List<Field> fields) {
        this.fields = fields;
    }

    public static class Field{
        private String fieldName;
        private String keyPath;
        private List<Field> children;

        public String getFieldName() {
            return fieldName;
        }

        public void setFieldName(String fieldName) {
            this.fieldName = fieldName;
        }

        public String getKeyPath() {
            return keyPath;
        }

        public void setKeyPath(String keyPath) {
            this.keyPath = keyPath;
        }

        public List<Field> getChildren() {
            return children;
        }

        public void setChildren(List<Field> children) {
            this.children = children;
        }
    }
}
